
package edu.sctu.jarime.may.day20150430;



/**
 * Created by user19 on 2015/4/30.
 */
public class DayClient {
    public static void main(String[] args) {
        System.out.printf("hello world");





        //计算器的加减乘除

        Calculator1 calculator;
        calculator = new Calculator1();


        int result;


        result=calculator.plus(5,6);
        System.out.println("5  +  6=" + result);


        result=calculator.sub(3,5);
        System.out.println("3  -  5=" + result);



        result=calculator.multi(4,5);
        System.out.println("4  *  5=" + result);


        result=calculator.divide(3,6);
        System.out.println("3  /  6=" + result);
    }
}
